package com.lwm.springcloud.entity;

import cn.hutool.captcha.ICaptcha;
import cn.hutool.captcha.LineCaptcha;
import cn.hutool.core.date.DateUnit;
import cn.hutool.core.math.MathUtil;
import cn.hutool.core.util.StrUtil;
import lombok.Data;

import java.awt.*;

/**
 * @author lwmzzz
 * @version 1.0
 * @date 2021/1/3 23:13
 * @description ceshi
 */
@Data
public class TestDTO {
    public static void main(String[] args) {
        StringBuilder s = StrUtil.builder("s");
        long l = MathUtil.arrangementCount(12, 34);
        long millis = DateUnit.MINUTE.getMillis();
        LineCaptcha lineCaptcha = new LineCaptcha(300,600);
        Image image = lineCaptcha.createImage("123132");
        image.flush();
    }
}
